package com.renyr;

/**
 * @author renyr
 * @version 0.1
 */
public class Thread1 {

    public static void main(String[] args) {
        test();
        System.out.println("thread demo");
    }

    public static void test() {
        new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                System.out.println("i : " + i);
            }
        }).start();
    }

}
